create

fun create(context: Context, level: ILogger.Level = ILogger.Level.INFO): GraphConverter

Default creator that uses a predefined gson configuration

Parameters

context

A valid application context

level

Minimum log level


fun create(context: Context, gson: Gson, level: ILogger.Level = ILogger.Level.INFO): GraphConverter

Allows you to provide your own Gson configuration which will be used when serialize or deserialize response and request bodies.

Parameters

context

A valid application context

gson

Custom gson implementation

level

Minimum log level